$(function() {
				var setcontent = document.getElementById("set_content");
				var content = document.getElementById("right_2");
				var h = document.documentElement.clientHeight;
				var h1 = document.body.scrollHeight;
				var chat = document.getElementById("chat");
				var right_C_2 = document.getElementById("right_C_2");
				var right_B_2 = document.getElementById("right_B_2");
				chat.style.height = h1 + "px";
				right_C_2.style.height = h1 + "px"
				right_B_2.style.height = (h1 - 50) + "px";

				$(".right_5_set").click(function() {
					$("#face_div").slideUp(500)
					$("#xialatu").slideUp(1000);
					$("#left_1_bigImg").attr("style", "display: none;");
					$("#sousuo").attr("style", "display: none;");
					if($("#set_content").val() == "") {
						alert("不能发空消息！")

					} else {
						if($("#set_content")[0].value == "[微笑]") {
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/1.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[撇嘴]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/2.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[色]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/3.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[发呆]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/4.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[流泪]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/5.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[害羞]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/6.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[闭嘴]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/7.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[睡]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/8.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[大哭]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/9.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[尴尬]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/10.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[发怒]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/11.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[调皮]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/12.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[呲牙]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/13.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[惊讶]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/14.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[难过]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/15.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[冷汗]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/16.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[抓狂]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/17.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[吐]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/18.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[偷笑]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/19.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[可爱]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/20.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[白眼]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/21.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[傲慢]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/22.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[饥饿]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/23.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[困]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/24.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[惊恐]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/25.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[流汗]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/26.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[憨笑]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/27.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[大兵]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/28.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[奋斗]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/29.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[咒骂]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/30.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[疑问]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/31.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[嘘...]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/32.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[晕]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/33.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[折磨]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/34.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[衰]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/35.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[敲打]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/36.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[再见]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/37.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[擦汗]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/38.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[抠鼻]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/39.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[嗅大了]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/40.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[坏笑]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/41.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[左哼哼]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/42.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[右哼哼]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/43.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[哈欠]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/44.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[鄙视]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/45.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[委屈]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/46.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[快哭了]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/47.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[阴险]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/48.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[亲亲]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/49.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[吓]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/50.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[可怜]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/51.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[拥抱]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/52.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[月亮]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/53.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[太阳]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/54.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[炸弹]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/55.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[骷髅]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/56.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[菜刀]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/57.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[猪头]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/58.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[西瓜]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/59.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[咖啡]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/60.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[米饭]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/61.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[爱心]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/62.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[强]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/63.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[弱]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/64.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[握手]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/65.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[胜利]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/66.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[抱拳]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/67.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[勾引]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/68.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[我爱你]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/69.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[差劲]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/70.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[玫瑰]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/71.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[凋谢]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/72.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[示爱]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/73.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[献吻]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/74.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else if($("#set_content")[0].value == "[飞吻]"){
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='../day04/homework/img/266007025355415553.jpg'/>" + "<span id='txt'>" + "<img src='faceImg/75.gif'/>" + "</span>" + "</li>";
							setcontent.value = ""
						}else{
							$("#content")[0].innerHTML += "<li id='time'>" + new Date().toLocaleTimeString() + "</li>" + "<li>" + "<img id='content_img' src='img/头像.png'/>" + "<span id='txt'>" + $("textarea").val().replace(/</g, "&gt;").replace(/>/, "&lt;") + "</span>" + "</li>";
							setcontent.value = ""
						}
						
						content.scrollTop = content.scrollHeight;
					}

				})
				$("#touxiang").click(function() {
					$("#left_1_bigImg").toggle(500);
					$("#face_div").slideUp(500);
					$("#xialatu").slideUp(1000);
					$("#sousuo").attr("style", "display: none;");

				})
				var xialatu_img = document.getElementById("xialatu_img");
				var right_1_txt = document.getElementById("right_1_txt");
				$("#tab td").click(function() {
					$("#xialatu").slideUp(0);
					$("#tab td").attr("class", "graysheng");
					$(this).attr("class", "grayqian");
					right_1_txt.innerHTML = $(this).text();
					xialatu_img.innerHTML = $(this).html();
					$("#face_div").slideUp(500);
					$("#left_1_bigImg").attr("style", "display: none;");
					$("#sousuo").attr("style", "display: none;");
				})
				$("#face").click(function() {
					$("#face_div").slideToggle(500)
					$("#xialatu").slideUp(1000);
					$("#left_1_bigImg").attr("style", "display: none;");
					$("#sousuo").attr("style", "display: none;");
				})
				$("#right_1>span>span,#right_1>span>img").click(function() {
					$("#xialatu").slideToggle(1000);
					$("#face_div").slideUp(500)
					$("#left_1_bigImg").attr("style", "display: none;");
					$("#sousuo").attr("style", "display: none;");

				})
				$("#face_tab td").mouseover(function() {
					$(this).attr("style", "border: 1px solid #0000FF;");
					$(this).mouseout(function() {
						$(this).attr("style", "border: 0px;");
					})
				})

				$("#left_3>img:eq(0)").click(function() {
					$(this).attr("src", "img/left_3_green1.png");
					$("#left_3>img:eq(1)").attr("src", "img/left_3_white2.png");
					$("#left_3>img:eq(2)").attr("src", "img/left_3_white3.png");
					$("#tab").attr("style", "display: block;")
					$("#left_4_div").attr("style", "display: none;");
					$("#left_4_ul").attr("style", "display: none;");
					$("#right").attr("style", "display: block;");
					$("#right_B").attr("style", "display: none;");
					$("#right_C").attr("style", "display: none;");
				});
				$("#left_3>img:eq(1)").click(function() {
					$(this).attr("src", "img/left_3_green2.png");
					$("#left_3>img:eq(0)").attr("src", "img/left_3_white1.png");
					$("#left_3>img:eq(2)").attr("src", "img/left_3_white3.png");
					$("#tab").attr("style", "display: none;");
					$("#left_4_div").attr("style", "display: none;");
					$("#left_4_ul").attr("style", "display: block;");
					$("#right").attr("style", "display: none;");
					$("#right_B").attr("style", "display: block;");
					$("#right_C").attr("style", "display: none;");
				});
				$("#left_3>img:eq(2)").click(function() {
					$(this).attr("src", "img/left_3_green3.png");
					$("#left_3>img:eq(0)").attr("src", "img/left_3_white1.png");
					$("#left_3>img:eq(1)").attr("src", "img/left_3_white2.png");
					$("#tab").attr("style", "display: none;");
					$("#left_4_ul").attr("style", "display: none;");
					$("#left_4_div").attr("style", "display: block;");
					$("#right").attr("style", "display: none;");
					$("#right_B").attr("style", "display: none;");
					$("#right_C").attr("style", "display: block;");
				});
				var left_3_btn2_right_1_span = document.getElementById("right_B_1_span");
				left_3_btn2_right_1_span.innerHTML = $("#left_4_ul>li:first").text()
				$("#left_4 li:odd").attr("style", "margin-bottom: 10px;cursor: pointer;").click(function() {
					$("#left_4 li:odd").attr("style", "margin-bottom: 10px;background-color: #2F3239;cursor: pointer;");
					$(this).attr("style", "margin-bottom: 10px;background-color: #3A3F45;cursor: pointer;");
					left_3_btn2_right_1_span.innerHTML = $(this).prev().text();
					if($(this).prev().text() == "天津全接触") {
						$("#right_B_2")[0].innerHTML = null;
						$("#right_B_2").append('<img src="img-right2/00.png"/>');
						$("#right_B_2").append('<img src="img-right2/0.gif"/>');
						$("#right_B_2").append('<img src="img-right2/1.gif"/>');
						$("#right_B_2").append('<img src="img-right2/03.png"/>');
						$("#right_B_2").append('<img src="img-right2/4.png"/>');
						$("#right_B_2").append('<img src="img-right2/5.png"/>');
						$("#right_B_2").append('<img src="img-right2/6.png"/>');
						$("#right_B_2").append('<img src="img-right2/7.png"/>');
						$("#right_B_2").append('<img src="img-right2/8.png"/>');
						$("#right_B_2").append('<img src="img-right2/9.png"/>');
						$("#right_B_2").append('<img src="img-right2/10.png"/>');
						$("#right_B_2").append('<img src="img-right2/12.png"/>');
					}
					if($(this).prev().text() == "天津出发") {
						$("#right_B_2")[0].innerHTML = null;
						$("#right_B_2").append('<img src="img-right2/02-0.png"/>');
						$("#right_B_2").append('<img src="img-right2/0.gif"/>');
						$("#right_B_2").append('<img src="img-right2/02-03.gif"/>');
						$("#right_B_2").append('<img src="img-right2/02-04.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-05.gif"/>');
						$("#right_B_2").append('<img src="img-right2/02-02.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-06.gif"/>');
						$("#right_B_2").append('<img src="img-right2/02-07.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-08.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-09.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-10.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-11.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-12.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-13.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-14.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-15.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-16.gif"/>');
						$("#right_B_2").append('<img src="img-right2/02-17.png"/>');
						$("#right_B_2").append('<img src="img-right2/02-18.gif"/>');
					}
					if($(this).prev().text() == "天津雅颂居") {
						$("#right_B_2")[0].innerHTML = null;
						$("#right_B_2").append('<img src="img-right2/03-01.png"/>');
						$("#right_B_2").append('<img src="img-right2/03-02.gif"/>');
						$("#right_B_2").append('<img src="img-right2/03-03.png"/>');
						$("#right_B_2").append('<img src="img-right2/03-04.gif"/>');
						$("#right_B_2").append('<img src="img-right2/03-05.png"/>');
						$("#right_B_2").append('<img src="img-right2/03-06.gif"/>');
						$("#right_B_2").append('<img src="img-right2/03-07.png"/>');
						$("#right_B_2").append('<img src="img-right2/03-08.png"/>');
						$("#right_B_2").append('<img src="img-right2/03-09.png"/>');
						$("#right_B_2").append('<img src="img-right2/03-10.png"/>');
						$("#right_B_2").append('<img src="img-right2/03-11.gif"/>');
					}
					if($(this).prev().text() == "前端早读课") {
						$("#right_B_2")[0].innerHTML = null;
						$("#right_B_2").append('<img src="img-right2/04-01.png"/>');
						$("#right_B_2").append('<img src="img-right2/04-02.png"/>');
						$("#right_B_2").append('<img src="img-right2/04-03.png"/>');
						$("#right_B_2").append('<img src="img-right2/04-04.png"/>');
						$("#right_B_2").append('<img src="img-right2/04-05.png"/>');
						$("#right_B_2").append('<img src="img-right2/04-06.png"/>');
						$("#right_B_2").append('<img src="img-right2/04-07.png"/>');
						$("#right_B_2").append('<img src="img-right2/04-08.png"/>');
						$("#right_B_2").append('<img src="img-right2/04-09.png"/>');
					}
					if($(this).prev().text() == "天津玩乐汇") {
						$("#right_B_2")[0].innerHTML = null;
						$("#right_B_2").append('<img src="img-right2/05-01.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-02.gif"/>');
						$("#right_B_2").append('<img src="img-right2/05-03.gif"/>');
						$("#right_B_2").append('<img src="img-right2/05-04.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-05.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-06.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-07.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-08.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-09.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-10.gif"/>');
						$("#right_B_2").append('<img src="img-right2/05-11.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-12.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-13.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-14.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-15.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-16.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-17.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-18.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-19.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-20.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-21.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-22.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-23.png"/>');
						$("#right_B_2").append('<img src="img-right2/05-24.gif"/>');

					}
				}) /*prev 元素紧邻的前一个同辈元素*/
				var right_C_2_div = document.getElementById("right_C_2_div");
				var right_C_2_li1 = document.getElementById("right_C_2_li1");
				var right_C_2_li3 = document.getElementById("right_C_2_li3");
				$("#left_4_div div").click(function() {
					$("#left_4_div div").attr("style", "background-color: #2E3238;");
					$(this).attr("style", "background-color: #3A3F45;")
					right_C_2_div.innerHTML = $(this).children().html();
					right_C_2_li1.innerHTML = $(this).children(".txt").html();
					right_C_2_li3.innerHTML = $(this).children(".txt").html();
					if($(this).text() == "阿辉") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nan.png");
						$("#right_C li:eq(1)").html("1777171456");
						$("#right_C li:eq(3) span").html("地区：天津 西青");
					}
					if($(this).text() == "A林克") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nan.png");
						$("#right_C li:eq(1)").html("我们都走在一条无法回头的路，所以，必须坚持下去");
						$("#right_C li:eq(3) span").html("地区：天津 西青");
					}
					if($(this).text() == "阿杜") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nan.png");
						$("#right_C li:eq(1)").html("我就是一个贱人，哈哈哈哈哈哈哈哈");
						$("#right_C li:eq(3) span").html("地区：天津 西青");
					}
					if($(this).text() == "冰清") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nv.png");
						$("#right_C li:eq(1)").html("我用我的善良衬托出你的美！");
						$("#right_C li:eq(3) span").html("地区：天津 西青");
					}
					if($(this).text() == "步易泽") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nan.png");
						$("#right_C li:eq(1)").html("步步为营，易为择");
						$("#right_C li:eq(3) span").html("地区：天津 西青");
					}
					if($(this).text() == "扮己") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nan.png");
						$("#right_C li:eq(1)").html("生意辉煌，人生就是一个顺字");
						$("#right_C li:eq(3) span").html("地区：天津 西青");
					}
					if($(this).text() == "Clase") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nan.png");
						$("#right_C li:eq(1)").html("人生处处是战场，谁都可能变凤凰");
						$("#right_C li:eq(3) span").html(" 天津 西青");
					}
					if($(this).text() == "灿烂的生命@") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nv.png");
						$("#right_C li:eq(1)").html("我用双手成就你的梦想！！！");
						$("#right_C li:eq(3) span").html("地区：天津 西青 ");
					}
					if($(this).text() == "常姐") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nv.png");
						$("#right_C li:eq(1)").html("天天开心就是我每天的工作");
						$("#right_C li:eq(3) span").html(" 天津 西青 ");
					}
					if($(this).text() == "杜老板") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nan.png");
						$("#right_C li:eq(1)").html("我就是太阳，不借谁的光，我会走向胜利");
						$("#right_C li:eq(3) span").html(" ");
					}
					if($(this).text() == "东东") {
						$("#right_C li:eq(0) img").attr("src", "img/sex_nan.png");
						$("#right_C li:eq(1)").html("球球大作战，球球的世界你懂吗？");
						$("#right_C li:eq(3) span").html(" ");
					}
				});
				/*prepend 动态添加*/
				$("#left_2_input").blur(function() {
					if($("#left_2_input").val() != "A" && $("#left_2_input").val() != "a" && $("#left_2_input").val() != "B" && $("#left_2_input").val() != "b" && $("#left_2_input").val() != "C" && $("#left_2_input").val() != "c" && $("#left_2_input").val() != "D" && $("#left_2_input").val() != "d") {
						$("#sousuo>li").html("找不到匹配结果")
						$("#sousuo_content li").remove()
						$("#sousuo").attr("style", "display: block;")
					} else {
						if($("#left_2_input").val() == "A" || $("#left_2_input").val() == "a") {
							$("#sousuo>li").html("好友");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/李龙辉.png'/>阿辉</li>");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/马林科.png'/>A林克</li>");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/杜军.png'/>阿杜</li>");
							$("#sousuo").attr("style", "display: block;")
						}
						if($("#left_2_input").val() == "B" || $("#left_2_input").val() == "b") {
							$("#sousuo>li").html("好友");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/冰清.png'/>冰清</li>");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/步易泽.png'/>步易泽</li>");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/武林.png'/>扮己</li>");
							$("#sousuo").attr("style", "display: block;")
						}
						if($("#left_2_input").val() == "C" || $("#left_2_input").val() == "c") {
							$("#sousuo>li").html("好友");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/马小平.png'/>Clase</li>");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/穆晓斌.png'/>灿烂的生命@</li>");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/常姐.png'/>常姐</li>");
							$("#sousuo").attr("style", "display: block;")
						}
						if($("#left_2_input").val() == "D" || $("#left_2_input").val() == "d") {
							$("#sousuo>li").html("好友");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/李亚东.png'/>杜老板</li>");
							$("#sousuo_content").prepend("<li class='sousuo_li'><img src='img/李伟.png'/>东东</li>");
							$("#sousuo").attr("style", "display: block;")
						}
					}

				})

				$("#face_tab td").click(function() {
					$("#set_content")[0].value=$(this)[0].children[1].innerHTML
				})
			})